package com.room.search.service.dto.broker;

import javax.validation.constraints.NotNull;

/**
 * By   : ghd.bright
 * Time : 2022/4/2
 * Description: 经纪人注册
 */
public class BrokerRegisterDTO {

    /**
     * 用户名
     */
    @NotNull
    private String username;

    /**
     * 用户密码
     */
    @NotNull
    private String password;

    /**
     * 验证码
     */
    @NotNull
    private String code;

    /**
     * 唯一标识
     */
    @NotNull
    private String uuid = "";

    private String province;

    private String city;

    private String district;

    public String getProvince() {
        return province;
    }

    public BrokerRegisterDTO setProvince(String province) {
        this.province = province;
        return this;
    }

    public String getCity() {
        return city;
    }

    public BrokerRegisterDTO setCity(String city) {
        this.city = city;
        return this;
    }

    public String getDistrict() {
        return district;
    }

    public BrokerRegisterDTO setDistrict(String district) {
        this.district = district;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public BrokerRegisterDTO setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public BrokerRegisterDTO setPassword(String password) {
        this.password = password;
        return this;
    }

    public String getCode() {
        return code;
    }

    public BrokerRegisterDTO setCode(String code) {
        this.code = code;
        return this;
    }

    public String getUuid() {
        return uuid;
    }

    public BrokerRegisterDTO setUuid(String uuid) {
        this.uuid = uuid;
        return this;
    }
}
